<h1>Listing grindselects</h1>

<table>
  <tr>
    <th>Code</th>
    <th>Name</th>
    <th>Desc</th>
  </tr>

<% @grindselects.each do |grindselect| %>
  <tr>
    <td><%=h grindselect.code %></td>
    <td><%=h grindselect.name %></td>
    <td><%=h grindselect.desc %></td>
    <td><%= link_to 'Show', grindselect %></td>
    <td><%= link_to 'Edit', edit_grindselect_path(grindselect) %></td>
    <td><%= link_to 'Destroy', grindselect, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New grindselect', new_grindselect_path %>